<?php 
/**
* 
*/
class Exception_Common extends Exception{

	private $code_list = array(
		'2001' => '请求参数不全',
	);

	function __construct($code){
		$msg = $this->code_list[$code];
		DI()->logger->error('code:['.$code .'] msg:['. $msg . ']');
		parent::__construct($msg, $code);
	}
}